package com.example.volleyball.playcharting.android;

import java.util.ArrayList;
import sharedClasses.*;

import android.os.AsyncTask;
import android.util.Log;


class SeasonAnalysisTask extends AsyncTask<Void, Void, Play[][]> {

	@Override
	protected Play[][] doInBackground(Void... arg0) {
		android.os.Debug.waitForDebugger();
        Client client = new Client(); // Button button, where's the button?
        client.start();
        Play[][] patterns  = client.getSeasonalAnalysis();
        if (patterns == null)
        {
        	Log.e("ERROR", "patterns is null");
        }
        client.stop(); //aahhhhhhhh
        return patterns;
	}
	
	@Override
	protected void onPostExecute(Play[][] result)
	{
	}
}